Integrand size = 22, antiderivative size = 58 \[ \int \frac {A+B x^2}{x^3 \sqrt {a+b x^2}} \, dx=-\frac {A \sqrt {a+b x^2}}{2 a x^2}+\frac {(A b-2 a B) \text {arctanh}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )}{2 a^{3/2}} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {457, 79, 65, 214} \[ \int \frac {A+B x^2}{x^3 \sqrt {a+b x^2}} \, dx=\frac {(A b-2 a B) \text {arctanh}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )}{2 a^{3/2}}-\frac {A \sqrt {a+b x^2}}{2 a x^2} \]
[In]
[Out]
Rule 65
Rule 79
Rule 214
Rule 457
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \text {Subst}\left (\int \frac {A+B x}{x^2 \sqrt {a+b x}} \, dx,x,x^2\right ) \\ & = -\frac {A \sqrt {a+b x^2}}{2 a x^2}+\frac {\left (-\frac {A b}{2}+a B\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^2\right )}{2 a} \\ & = -\frac {A \sqrt {a+b x^2}}{2 a x^2}+\frac {\left (-\frac {A b}{2}+a B\right ) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^2}\right )}{a b} \\ & = -\frac {A \sqrt {a+b x^2}}{2 a x^2}+\frac {(A b-2 a B) \tanh ^{-1}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )}{2 a^{3/2}} \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 58, normalized size of antiderivative = 1.00 \[ \int \frac {A+B x^2}{x^3 \sqrt {a+b x^2}} \, dx=-\frac {A \sqrt {a+b x^2}}{2 a x^2}+\frac {(A b-2 a B) \text {arctanh}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )}{2 a^{3/2}} \]
[In]
[Out]
Time = 2.83 (sec) , antiderivative size = 47, normalized size of antiderivative = 0.81
method | result | size |
pseudoelliptic | \(\frac {\left (A b -2 B a \right ) \operatorname {arctanh}\left (\frac {\sqrt {b \,x^{2}+a}}{\sqrt {a}}\right )}{2 a^{\frac {3}{2}}}-\frac {A \sqrt {b \,x^{2}+a}}{2 a \,x^{2}}\) | \(47\) |
risch | \(-\frac {A \sqrt {b \,x^{2}+a}}{2 a \,x^{2}}+\frac {\left (A b -2 B a \right ) \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{2}+a}}{x}\right )}{2 a^{\frac {3}{2}}}\) | \(56\) |
default | \(-\frac {B \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{2}+a}}{x}\right )}{\sqrt {a}}+A \left (-\frac {\sqrt {b \,x^{2}+a}}{2 a \,x^{2}}+\frac {b \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{2}+a}}{x}\right )}{2 a^{\frac {3}{2}}}\right )\) | \(80\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 124, normalized size of antiderivative = 2.14 \[ \int \frac {A+B x^2}{x^3 \sqrt {a+b x^2}} \, dx=\left [-\frac {{\left (2 \, B a - A b\right )} \sqrt {a} x^{2} \log \left (-\frac {b x^{2} + 2 \, \sqrt {b x^{2} + a} \sqrt {a} + 2 \, a}{x^{2}}\right ) + 2 \, \sqrt {b x^{2} + a} A a}{4 \, a^{2} x^{2}}, \frac {{\left (2 \, B a - A b\right )} \sqrt {-a} x^{2} \arctan \left (\frac {\sqrt {-a}}{\sqrt {b x^{2} + a}}\right ) - \sqrt {b x^{2} + a} A a}{2 \, a^{2} x^{2}}\right ] \]
[In]
[Out]
Time = 5.77 (sec) , antiderivative size = 66, normalized size of antiderivative = 1.14 \[ \int \frac {A+B x^2}{x^3 \sqrt {a+b x^2}} \, dx=- \frac {A \sqrt {b} \sqrt {\frac {a}{b x^{2}} + 1}}{2 a x} + \frac {A b \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} x} \right )}}{2 a^{\frac {3}{2}}} - \frac {B \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} x} \right )}}{\sqrt {a}} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 56, normalized size of antiderivative = 0.97 \[ \int \frac {A+B x^2}{x^3 \sqrt {a+b x^2}} \, dx=-\frac {B \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | x \right |}}\right )}{\sqrt {a}} + \frac {A b \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | x \right |}}\right )}{2 \, a^{\frac {3}{2}}} - \frac {\sqrt {b x^{2} + a} A}{2 \, a x^{2}} \]
[In]
[Out]
none
Time = 0.38 (sec) , antiderivative size = 62, normalized size of antiderivative = 1.07 \[ \int \frac {A+B x^2}{x^3 \sqrt {a+b x^2}} \, dx=\frac {\frac {{\left (2 \, B a b - A b^{2}\right )} \arctan \left (\frac {\sqrt {b x^{2} + a}}{\sqrt {-a}}\right )}{\sqrt {-a} a} - \frac {\sqrt {b x^{2} + a} A b}{a x^{2}}}{2 \, b} \]
[In]
[Out]
Time = 5.83 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.03 \[ \int \frac {A+B x^2}{x^3 \sqrt {a+b x^2}} \, dx=\frac {A\,b\,\mathrm {atanh}\left (\frac {\sqrt {b\,x^2+a}}{\sqrt {a}}\right )}{2\,a^{3/2}}-\frac {A\,\sqrt {b\,x^2+a}}{2\,a\,x^2}-\frac {B\,\mathrm {atanh}\left (\frac {\sqrt {b\,x^2+a}}{\sqrt {a}}\right )}{\sqrt {a}} \]
[In]
[Out]